#ifndef SHOPINF_H
#define SHOPINF_H

#include <QWidget>
#include<QByteArray>
#include"public.h"
#include"getinftonet.h"
namespace Ui {
class shopinf;
}

class shopinf : public QWidget
{
    Q_OBJECT

public:
    explicit shopinf(QWidget *parent = nullptr);
    void init (Getinftonet *ginfs);
    ~shopinf();

private slots:
    void getshopinfo(structshopinf* a);  //信息展示
    void drowshopinfimg(QByteArray * img);//图片展示

    void on_frech_clicked();

    void on_pushButton_2_clicked();

signals:
    void siggetinftochick();

    void sigchangeislog(QString &islog);


private:
    Ui::shopinf *ui;

    QString islog;
    Getinftonet *ginf;
};

#endif // SHOPINF_H
